package baseApi;

import java.util.Date;

public class Date01 {
    public static void main(String[] args) {
        System.out.println(new Date(1741259284L*1000));//把时间戳变为时间
        System.out.println(new Date().getTime());//获取当前时间戳
    }
}
